<%@ Page Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Login.aspx.cs"
    Inherits="Templates_Login" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="Server">
    <acms:FlashContentControlDisplay ID="flashHeader" ControlName="FlashHeader" WMode="Transparent"
        MaxWidth="800" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="Server">
    <asp:Panel ID="pnlLogin" CssClass="htmlArticle" runat="server">
        <asp:Image ImageUrl="~/img/login_title.gif" ID="imgLogon" runat="server" />
        <asp:UpdatePanel ID="updLogin" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                <acms:UserLogonControl ID="login" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Panel>
    <asp:Panel ID="pnlRegister" CssClass="htmlArticle" runat="server">
        <asp:Image ImageUrl="~/img/register_title.gif" ID="imgRegister" runat="server" />
        <asp:UpdatePanel ID="updRegister" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                <acms:UserRegisterControl ID="register" OnUserRegistering="register_UserRegistering"
                    OnUserRegistered="register_UserRegistered" runat="server">
                    <CustomFields>
                        <li class="register brand">
                            <asp:Label AssociatedControlID="txtBrand" Text="Brand of Choice:" runat="server" />
                            <asp:TextBox ID="txtBrand" runat="server" />
                        </li>
                        <li class="register optout">
                            <asp:CheckBox ID="cbOptOut" TextAlign="Left" Text="Brand Union will contact you from time to time with news on exclusive events and great offers from the brands at The Harlequin, Watford. Please tick here  --- if you DO NOT want to receive monthly updates on competitions, offers and events from the Brand Union." runat="server" />
                        </li>
                        <li class="register tandc">
                            <asp:CheckBox ID="tandC" TextAlign="Left" Text="Have you read and agreed to the terms and conditions?" runat="server" />
                            <acms:CheckedRequiredValidator ID="valTandCReq" ControlsToValidate="tandC" ErrorMessage="!Required" Display="Dynamic" runat="server" />
                        </li>
                        <li class="register tandc">
                            <asp:HyperLink ID="lnkTandC" Target="_blank" NavigateUrl="~/tandc.html" Text="Terms & Conditions" runat="server" />
                        </li>
                        
                    </CustomFields>
                </acms:UserRegisterControl>
            </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Panel>
</asp:Content>
